<?php
namespace app\goods\validate;
use think\Validate;

class GoodsOrder extends Validate
{
    protected $rule = [
        'realname' => 'require|max:100',
        'mobile' => 'require|length:11',
    ];
}